package com.shop.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2023-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("phone")
public class Phone implements Serializable {

    private static final long serialVersionUID=1L;

    private String id;

    private String phoneName;

    private Integer memory;

    private Integer disk;

    private Float price;

    private String brandId;

    private String brandName;

    private String typeId;

    private String typeName;

    private Date createTime;

    private String colorId;

    private String color;

    @TableField("is_delete")
    private String isDelete = "1";

    private String coverSrc;

    private String des;


}
